package com.smalluz.ad.modules.ks.result;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.smalluz.ad.modules.common.result.BaseResult;
import com.smalluz.ad.modules.common.util.json.JacksonUtils;
import com.smalluz.ad.modules.ks.result.campaign.KsCampaignResultInfo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;
@Data
@EqualsAndHashCode(callSuper = false)
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
public class KsCampaignListResult extends BaseResult  {
    
    private static final long serialVersionUID = -3506995709370730230L;

    @JsonProperty("data")
    private KsCampaignResultInfo data;

    public static KsCampaignListResult fromJson(String json) {
        return JacksonUtils.jsn2bean(json, KsCampaignListResult.class);
    }
    
}
